<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="/Public/css/pintuer.css">
<link rel="stylesheet" href="/Public/css/admin.css">
<script src="/Public/js/jquery.js"></script>
<script src="/Public/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
 <form method="post" class="form-x" action="/index.php/Home/Index/findShop">
      <div class="form-group">
        <div class="label">
          <label>商家手机号：</label>
        </div>
        <div class="field">
          <input type="text" class="input" name="phone" value="" style="width:25%; float:left;" value="" data-toggle="hover" data-place="right" data-image=""  />
          <input type="submit" class="button bg-blue margin-left" value="搜索">
        </div>
      </div>
      </div>
    </form>
  <div class="panel-head"><strong class="icon-reorder">商家代理</strong></div>
  <div class="padding border-bottom">
  </div>
  <table class="table table-hover text-center">
    <tr>
        <th width="15%" style="text-align:left; padding-left:20px;">姓名</th>
        <th width="15%">电话</th>
        <th width="15%">类别</th>
        <th width="310">操作</th>
      </tr>
      <?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
            <td style="text-align:left; padding-left:20px;">
                <?php echo ($vo["contacts"]); ?>
            </td>
            <td><?php echo ($vo["phone"]); ?>
            </td>
            <td width="10%">
                商家
            </td>
            <td>
              <div class="button-group"> 
                  <a class="button border-red" href="/index.php/Home/Index/noShopProxy/id/<?php echo ($vo["shop_id"]); ?>"><span class="icon-edit"></span>取消代理</a> 
              </div>
              </td>
          </tr><?php endforeach; endif; else: echo "" ;endif; ?>
         
      <tr>
        <td colspan="8"><div class="pagelist"> <?php echo ($page); ?> </div></td>
      </tr>
    
  </table>
</div>


</body>
</html>